import { createApp } from 'vue'
import App from './App.vue'
import 'virtual:windi.css'
import router from '@/router'
import { createPinia } from 'pinia'
import VueI18n from '@/language'
import persistedstate from 'pinia-plugin-persistedstate'
import validator from './common/validator'

const pinia = createPinia()
pinia.use(persistedstate)

createApp(App)
	//
	.use(pinia)
	.use(router)
	.use(VueI18n)
	.use(validator)
	.mount('#app')
